<template>
  <div class="public">
    <MyHeader />
    <div class="body">
      <!-- 二级页面的路由出口 -->
      <router-view />
    </div>
    <FooterVue />
  </div>
</template>

<script>
import FooterVue from "../components/Footer.vue";
import MyHeader from "../components/Header.vue";
export default {
  components: {
    FooterVue,
    MyHeader,
  },
};
</script>

<style lang="scss" scoped>
.body {
  flex: 1;
}
</style>
